package day06_homework_2;

public class Number {
	private double num1;
	private double num2;
	@Override
	public String toString() {
		return "Number [num1=" + num1 + ", num2=" + num2 + "]";
	}
	
	public double add(double num1,double num2) {
		return num1+num2;
	}
	public double sub(double num1,double num2) {
		return num1-num2;
	}
	public double mul(double num1,double num2) {
		return num1*num2;
	}
	public double div(double num1,double num2) {
		return num1/num2;
	}

	public double getNum1() {
		return num1;
	}

	public void setNum1(double num1) {
		this.num1 = num1;
	}

	public double getNum2() {
		return num2;
	}

	public void setNum2(double num2) {
		this.num2 = num2;
	}
	
}
